package com.hk.kindheartedness.model;

import java.util.Date;

/**
 * @Author：alpha
 * @Create：2022/2/27/11:50
 * @Description：医生详情资料
 * @Version：1.0
 */
public class DoctorDetails {

    /**
     * ID 唯一 （默认自增）
     */
    private Integer id;

    /**
     * 姓名 唯一
     */
    private String username;

    /**
     * 所属职务
     */
    private Integer positionId;

    /**
     * 所属科室
     */
    private Integer departmentsId;

    /**
     * 擅长
     */
    private String specialty;

    /**
     * 简介
     */
    private String describe;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 修改时间
     */
    private Date updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getPositionId() {
        return positionId;
    }

    public void setPositionId(Integer positionId) {
        this.positionId = positionId;
    }

    public Integer getDepartmentsId() {
        return departmentsId;
    }

    public void setDepartmentsId(Integer departmentsId) {
        this.departmentsId = departmentsId;
    }

    public String getSpecialty() {
        return specialty;
    }

    public void setSpecialty(String specialty) {
        this.specialty = specialty;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public DoctorDetails() {
        super();
    }

    public DoctorDetails(Integer id, String username,Integer positionId, Integer departmentsId, String specialty, String describe, Date createTime, Date updateTime) {
        this.id = id;
        this.username = username;
        this.positionId = positionId;
        this.departmentsId = departmentsId;
        this.specialty = specialty;
        this.describe = describe;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "DoctorDetails{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", positionId=" + positionId +
                ", departmentsId=" + departmentsId +
                ", specialty='" + specialty + '\'' +
                ", describe='" + describe + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }

}